package com.app.newiptv.bean.allchannels;

import java.util.List;

/**
 * Created by Shinelon on 2017/9/15.
 */

public class MainChanel {
//    private String mainChanel;
//    private List<Program> channelAlls;
//
//    public String getMainChanel() {
//        return mainChanel;
//    }
//
//    public void setMainChanel(String mainChanel) {
//        this.mainChanel = mainChanel;
//    }
//
//    public List<Program> getChannelAlls() {
//        return channelAlls;
//    }
//
//    public void setChannelAlls(List<Program> channelAlls) {
//        this.channelAlls = channelAlls;
//    }
//
//    @Override
//    public String toString() {
//        return "MainChanel{" +
//                "mainChanel='" + mainChanel + '\'' +
//                ", channelAlls=" + channelAlls +
//                '}';
//    }
    private int id;
    private String name;
    private int sort;
    private List<Lives> lives;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public List<Lives> getLives() {
        return lives;
    }

    public void setLives(List<Lives> lives) {
        this.lives = lives;
    }

    @Override
    public String toString() {
        return "MainChanel{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", sort=" + sort +
                ", lives=" + lives +
                '}';
    }

    public class Lives{
        private int id;
        private String name;
        private int sort;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }

        @Override
        public String toString() {
            return "Lives{" +
                    "id=" + id +
                    ", name='" + name + '\'' +
                    ", sort=" + sort +
                    '}';
        }
    }
}
